package com.example.demo.practice.dashboardview;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.demo.practice.R;

/**
 * Created by Declan_Wang on 2018/1/5.
 */

public class CheckInfo extends Activity {

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.check_info);
        Button Btn1 = (Button)findViewById(R.id.button1);//获取按钮资源
        Btn1.setOnClickListener(new Button.OnClickListener(){//创建监听
            public void onClick(View v) {
                finish();
            }
        });

        Button Btn2 = (Button)findViewById(R.id.button2);//获取按钮资源
        Btn2.setOnClickListener(new Button.OnClickListener(){//创建监听
            public void onClick(View v) {
                finish();
            }
        });
    }
}
